STEP 6: Let's have our fox move farther down until it is on the ground.

The stage is designed in a grid and each block is 1 unit. You'll learn more about it in the next lesson.

  • Let’s make the sprite move down 4 units.
  • In the .move_down(2), command change the number from 2 to 4. Do not put quotes around the number.
  • Click Run to see the fox move down farther. Then click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("winter") sprite = codesters.Sprite("fox") sprite.move_down(2)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)